package com.iotechn.unimall.data.vo;

import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiEntity(description = "协会视图模型")
public class XHCouponVO {

    @ApiField(description = "优惠券名称")
    private Long id;

    @ApiField(description = "优惠券编号")
    private String uuid;

    @ApiField(description = "金额")
    private BigDecimal discount;

    @ApiField(description = "客户")
    private String name;

    @ApiField(description = "类型（1-协会，2-企业）")
    private Integer unitType;

    @ApiField(description = "名称")
    private String unit;

    @ApiField(description = "使用开始时间")
    private Date startTime;

    @ApiField(description = "使用结束时间")
    private Date endTime;

    @ApiField(description = "状态(0-未使用，1-已使用，2-已核销)")
    private Integer status;

    @ApiField(description = "发放人")
    private String issuerName;

    @ApiField(description = "发放时间")
    private Date gmtCreate;

}
